package com.howie.gulimall.product.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @description: 商品详情Controller
 * @author: laizhenghua
 * @date: 2021/3/2 17:32
 */
@Controller
public class ItemController {
    /**
     *
     * @param skuId 商品skuId
     * @return String
     */
    @GetMapping("/item/{skuId}.html")
    public String itemPage(@PathVariable Long skuId){
        System.out.println("debug => " + skuId);
        return "item";
    }
}
